package com.shunli.cterminal.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
public class PayReq implements Serializable {

    private static final long serialVersionUID = -6650712677085593167L;

    @Schema(description = "system_trade_online_config表id")
    private String id;

    @Schema(description = "支付方式 微信js-wechat_js 微信h5-wechat_h5 微信扫码-wechat_native 支付宝-alipay 有赞支付-youzanpay ")
    private String method;

    @Schema(description = "支付产品 1-h5支付 2-公众号支付 3-扫码支付 4-收款码 5-对公转账 6-代收货款")
    private Integer payTypes;

    @Schema(description = "订单id")
    private String orderId;

    @Schema(description = "支付所需中途退出返回地址")
    private String returnUrl;

    @Schema(description = "获取完用户的openId后重定向的中转业url")
    private String url;

    @Schema(description = "当前获取的ip地址")
    private String ip;

    @Schema(description = "新支付域名")
    private String notifyUrl;

    private String newPayDomain;

    @Schema(description = "权重开关")
    private Boolean weightSwitch;

}
